package gui;

import javax.swing.ImageIcon;

class ImageLoader {
	public static ImageIcon playIcon, stopIcon, nextIcon, refreshIcon;
	public static ImageIcon dirtIcon, obstacleIcon, tileIcon;
	public static int iconSize = 60;

	static {
		playIcon = new ImageIcon(new ImageIcon("img/play.png").getImage()
				.getScaledInstance(30, 30, 30));
		stopIcon = new ImageIcon(new ImageIcon("img/stop.png").getImage()
				.getScaledInstance(30, 30, 30));
		nextIcon = new ImageIcon(new ImageIcon("img/next.png").getImage()
				.getScaledInstance(30, 30, 30));
		refreshIcon = new ImageIcon(new ImageIcon("img/refresh.png").getImage()
				.getScaledInstance(30, 30, 30));
		dirtIcon = new ImageIcon(new ImageIcon("img/dirt.jpeg").getImage()
				.getScaledInstance(iconSize, iconSize, iconSize));
		obstacleIcon = new ImageIcon(new ImageIcon("img/obstacle.jpeg")
				.getImage().getScaledInstance(iconSize, iconSize, iconSize));
		tileIcon = new ImageIcon(new ImageIcon("img/tile.jpeg").getImage()
				.getScaledInstance(iconSize, iconSize, iconSize));

	}
}
